<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>vue</title>
  </head>
  <script src="../vue-2.6.11.js"></script>
  <body>
    <!-- 模板 -->
    <div id="demo"></div>

    <script>
      //数据
      let data = {
        message: 'abcdef'
      }

      //vm实例
      let vm = new Vue({
        el: '#demo', //挂载元素
        data: data,
        render(createElement) {
          return createElement('ul', [
            createElement('li', 1),
            createElement('li', 2),
            createElement('li', 3)
          ])
        }
      })
    </script>
  </body>
</html>
